<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>
<div id="root">
    <template v-if="flag">
        <h1>hello world</h1>
    </template>

</div>
<script>
    Vue.config.productionTip = false;
    new Vue({
        el: "#root",
        data: {
            flag: true,
        },
        methods: {}
    })
</script>
</body>
</html>
